/** Types generated for queries found in "src/modules/scraper-ingestion/providers/isracard-amex-scraper-ingestion.provider.ts" */
export type NumberOrString = number | string;

export type numberArray = (number)[];

/** 'FetchIsracardByCards' parameters type */
export interface IFetchIsracardByCardsParams {
  cards: numberArray;
}

/** 'FetchIsracardByCards' return type */
export interface IFetchIsracardByCardsResult {
  adendum: string | null;
  card: number;
  card_index: number;
  city: string | null;
  currency_id: string | null;
  current_payment_currency: string | null;
  deal_sum: string | null;
  deal_sum_outbound: string | null;
  deal_sum_type: string | null;
  deals_inbound: string | null;
  display_properties: string | null;
  esb_services_call: string | null;
  full_payment_date: string | null;
  full_purchase_date: string | null;
  full_purchase_date_outbound: string | null;
  full_supplier_name_heb: string | null;
  full_supplier_name_outbound: string | null;
  horaat_keva: string | null;
  id: string;
  is_button: string;
  is_captcha: string;
  is_error: string;
  is_horaat_keva: string;
  is_show_deals_outbound: string | null;
  is_show_link_for_supplier_details: string | null;
  kod_matbea_mekori: string | null;
  message: string | null;
  more_info: string | null;
  payment_date: string | null;
  payment_sum: string | null;
  payment_sum_outbound: string | null;
  payment_sum_sign: string | null;
  purchase_date: string | null;
  purchase_date_outbound: string | null;
  return_code: string | null;
  return_message: string | null;
  site_name: string | null;
  solek: string | null;
  specific_date: string | null;
  stage: string | null;
  supplier_id: number | null;
  supplier_name: string | null;
  supplier_name_outbound: string | null;
  table_page_num: boolean;
  voucher_number: number | null;
  voucher_number_ratz: number | null;
  voucher_number_ratz_outbound: number | null;
}

/** 'FetchIsracardByCards' query type */
export interface IFetchIsracardByCardsQuery {
  params: IFetchIsracardByCardsParams;
  result: IFetchIsracardByCardsResult;
}

/** 'UploadIsracardTransactions' parameters type */
export interface IUploadIsracardTransactionsParams {
  transactions: readonly ({
    specificDate: string | null | void,
    cardIndex: number | null | void,
    dealsInbound: string | null | void,
    supplierId: number | null | void,
    supplierName: string | null | void,
    dealSumType: string | null | void,
    paymentSumSign: string | null | void,
    purchaseDate: string | null | void,
    fullPurchaseDate: string | null | void,
    moreInfo: string | null | void,
    horaatKeva: string | null | void,
    voucherNumber: number | null | void,
    voucherNumberRatz: number | null | void,
    solek: string | null | void,
    purchaseDateOutbound: string | null | void,
    fullPurchaseDateOutbound: string | null | void,
    currencyId: string | null | void,
    currentPaymentCurrency: string | null | void,
    city: string | null | void,
    supplierNameOutbound: string | null | void,
    fullSupplierNameOutbound: string | null | void,
    paymentDate: string | null | void,
    fullPaymentDate: string | null | void,
    isShowDealsOutbound: string | null | void,
    adendum: string | null | void,
    voucherNumberRatzOutbound: number | null | void,
    isShowLinkForSupplierDetails: string | null | void,
    dealSum: string | null | void,
    paymentSum: NumberOrString | null | void,
    fullSupplierNameHeb: string | null | void,
    dealSumOutbound: NumberOrString | null | void,
    paymentSumOutbound: NumberOrString | null | void,
    isHoraatKeva: string | null | void,
    stage: string | null | void,
    returnCode: string | null | void,
    message: string | null | void,
    returnMessage: string | null | void,
    displayProperties: string | null | void,
    tablePageNum: boolean | null | void,
    isError: string | null | void,
    isCaptcha: string | null | void,
    isButton: string | null | void,
    siteName: string | null | void,
    clientIpAddress: string | null | void,
    card: number | null | void,
    chargingDate: string | null | void,
    kodMatbeaMekori: string | null | void,
    esbServicesCall: string | null | void
  })[];
}

/** 'UploadIsracardTransactions' return type */
export interface IUploadIsracardTransactionsResult {
  card: number;
  full_purchase_date: string | null;
  id: string;
  payment_sum: string | null;
  supplier_name: string | null;
}

/** 'UploadIsracardTransactions' query type */
export interface IUploadIsracardTransactionsQuery {
  params: IUploadIsracardTransactionsParams;
  result: IUploadIsracardTransactionsResult;
}

/** 'FetchAmexByCards' parameters type */
export interface IFetchAmexByCardsParams {
  cards: numberArray;
}

/** 'FetchAmexByCards' return type */
export interface IFetchAmexByCardsResult {
  adendum: string | null;
  card: number;
  card_index: number;
  city: string | null;
  currency_id: string | null;
  current_payment_currency: string | null;
  deal_sum: string | null;
  deal_sum_outbound: string | null;
  deal_sum_type: string | null;
  deals_inbound: string | null;
  display_properties: string | null;
  esb_services_call: string | null;
  full_payment_date: string | null;
  full_purchase_date: string | null;
  full_purchase_date_outbound: string | null;
  full_supplier_name_heb: string | null;
  full_supplier_name_outbound: string | null;
  horaat_keva: string | null;
  id: string;
  is_button: string;
  is_captcha: string;
  is_error: string;
  is_horaat_keva: string;
  is_show_deals_outbound: string | null;
  is_show_link_for_supplier_details: string | null;
  kod_matbea_mekori: string | null;
  message: string | null;
  more_info: string | null;
  payment_date: string | null;
  payment_sum: string | null;
  payment_sum_outbound: string | null;
  payment_sum_sign: string | null;
  purchase_date: string | null;
  purchase_date_outbound: string | null;
  return_code: string | null;
  return_message: string | null;
  site_name: string | null;
  solek: string | null;
  specific_date: string | null;
  stage: string | null;
  supplier_id: number | null;
  supplier_name: string | null;
  supplier_name_outbound: string | null;
  table_page_num: boolean;
  voucher_number: number | null;
  voucher_number_ratz: number | null;
  voucher_number_ratz_outbound: number | null;
}

/** 'FetchAmexByCards' query type */
export interface IFetchAmexByCardsQuery {
  params: IFetchAmexByCardsParams;
  result: IFetchAmexByCardsResult;
}

/** 'UploadAmexTransactions' parameters type */
export interface IUploadAmexTransactionsParams {
  transactions: readonly ({
    specificDate: string | null | void,
    cardIndex: number | null | void,
    dealsInbound: string | null | void,
    supplierId: number | null | void,
    supplierName: string | null | void,
    dealSumType: string | null | void,
    paymentSumSign: string | null | void,
    purchaseDate: string | null | void,
    fullPurchaseDate: string | null | void,
    moreInfo: string | null | void,
    horaatKeva: string | null | void,
    voucherNumber: number | null | void,
    voucherNumberRatz: number | null | void,
    solek: string | null | void,
    purchaseDateOutbound: string | null | void,
    fullPurchaseDateOutbound: string | null | void,
    currencyId: string | null | void,
    currentPaymentCurrency: string | null | void,
    city: string | null | void,
    supplierNameOutbound: string | null | void,
    fullSupplierNameOutbound: string | null | void,
    paymentDate: string | null | void,
    fullPaymentDate: string | null | void,
    isShowDealsOutbound: string | null | void,
    adendum: string | null | void,
    voucherNumberRatzOutbound: number | null | void,
    isShowLinkForSupplierDetails: string | null | void,
    dealSum: string | null | void,
    paymentSum: NumberOrString | null | void,
    fullSupplierNameHeb: string | null | void,
    dealSumOutbound: NumberOrString | null | void,
    paymentSumOutbound: NumberOrString | null | void,
    isHoraatKeva: string | null | void,
    stage: string | null | void,
    returnCode: string | null | void,
    message: string | null | void,
    returnMessage: string | null | void,
    displayProperties: string | null | void,
    tablePageNum: boolean | null | void,
    isError: string | null | void,
    isCaptcha: string | null | void,
    isButton: string | null | void,
    siteName: string | null | void,
    clientIpAddress: string | null | void,
    card: number | null | void,
    chargingDate: string | null | void,
    kodMatbeaMekori: string | null | void,
    esbServicesCall: string | null | void
  })[];
}

/** 'UploadAmexTransactions' return type */
export interface IUploadAmexTransactionsResult {
  card: number;
  full_purchase_date: string | null;
  id: string;
  payment_sum: string | null;
  supplier_name: string | null;
}

/** 'UploadAmexTransactions' query type */
export interface IUploadAmexTransactionsQuery {
  params: IUploadAmexTransactionsParams;
  result: IUploadAmexTransactionsResult;
}

