/** Types generated for queries found in "src/modules/onboarding/providers/admin-onboarding.provider.ts" */
export type currency = 'AUD' | 'CAD' | 'ETH' | 'EUR' | 'GBP' | 'GRT' | 'ILS' | 'JPY' | 'SEK' | 'USD' | 'USDC';

export type pcn874_record_type = 'C' | 'H' | 'I' | 'K' | 'L1' | 'L2' | 'M' | 'P' | 'R' | 'S1' | 'S2' | 'T' | 'Y';

export type Json = null | boolean | number | string | Json[] | { [key: string]: Json };

/** 'SetRlsContext' parameters type */
export interface ISetRlsContextParams {
  businessId?: string | null | void;
}

/** 'SetRlsContext' return type */
export interface ISetRlsContextResult {
  set_config: string | null;
}

/** 'SetRlsContext' query type */
export interface ISetRlsContextQuery {
  params: ISetRlsContextParams;
  result: ISetRlsContextResult;
}

/** 'SetSelfOwner' parameters type */
export interface ISetSelfOwnerParams {
  id?: string | null | void;
}

/** 'SetSelfOwner' return type */
export type ISetSelfOwnerResult = void;

/** 'SetSelfOwner' query type */
export interface ISetSelfOwnerQuery {
  params: ISetSelfOwnerParams;
  result: ISetSelfOwnerResult;
}

/** 'GetBootstrapBusiness' parameters type */
export interface IGetBootstrapBusinessParams {
  id?: string | null | void;
}

/** 'GetBootstrapBusiness' return type */
export interface IGetBootstrapBusinessResult {
  address: string | null;
  address_hebrew: string | null;
  can_settle_with_receipt: boolean;
  city: string | null;
  country: string;
  created_at: Date;
  email: string | null;
  exempt_dealer: boolean;
  hebrew_name: string | null;
  id: string;
  irs_code: number | null;
  is_active: boolean;
  name: string;
  no_invoices_required: boolean;
  optional_vat: boolean;
  owner_id: string | null;
  pcn874_record_type_override: pcn874_record_type | null;
  phone_number: string | null;
  sort_code: number | null;
  suggestion_data: Json | null;
  type: string | null;
  updated_at: Date;
  vat_number: string | null;
  website: string | null;
  zip_code: string | null;
}

/** 'GetBootstrapBusiness' query type */
export interface IGetBootstrapBusinessQuery {
  params: IGetBootstrapBusinessParams;
  result: IGetBootstrapBusinessResult;
}

/** 'GetBootstrapContext' parameters type */
export interface IGetBootstrapContextParams {
  ownerId?: string | null | void;
}

/** 'GetBootstrapContext' return type */
export interface IGetBootstrapContextResult {
  accumulated_depreciation_tax_category_id: string | null;
  amex_business_id: string | null;
  balance_cancellation_tax_category_id: string;
  bank_deposit_business_id: string | null;
  bank_deposit_interest_income_tax_category_id: string | null;
  batched_employees_business_id: string | null;
  batched_funds_business_id: string | null;
  business_trip_tag_id: string | null;
  business_trip_tax_category_id: string | null;
  cal_business_id: string | null;
  compensation_fund_expenses_tax_category_id: string | null;
  date_established: Date | null;
  default_fiat_currency_for_crypto_conversions: currency;
  default_local_currency: currency;
  default_tax_category_id: string;
  development_foreign_tax_category_id: string;
  development_local_tax_category_id: string;
  discount_business_id: string | null;
  dividend_tax_category_id: string | null;
  dividend_withholding_tax_business_id: string | null;
  etana_business_id: string | null;
  etherscan_business_id: string | null;
  exchange_rate_revaluation_tax_category_id: string;
  exchange_rate_tax_category_id: string;
  expenses_in_advance_tax_category_id: string;
  expenses_to_pay_tax_category_id: string;
  fee_tax_category_id: string;
  fine_tax_category_id: string;
  foreign_securities_business_id: string | null;
  foreign_securities_fees_category_id: string | null;
  general_fee_tax_category_id: string;
  gnm_depreciation_expenses_tax_category_id: string | null;
  income_exchange_rate_tax_category_id: string;
  income_in_advance_tax_category_id: string | null;
  income_to_collect_tax_category_id: string;
  initial_accounter_year: number | null;
  input_vat_tax_category_id: string;
  isracard_business_id: string | null;
  kraken_business_id: string | null;
  ledger_lock: Date | null;
  locality: string;
  marketing_depreciation_expenses_tax_category_id: string | null;
  otsar_hahayal_business_id: string | null;
  otsar_hahayal_credit_card_business_id: string | null;
  output_vat_tax_category_id: string;
  owner_id: string;
  pension_fund_expenses_tax_category_id: string | null;
  poalim_business_id: string | null;
  property_output_vat_tax_category_id: string | null;
  recovery_reserve_expenses_tax_category_id: string | null;
  recovery_reserve_tax_category_id: string | null;
  rnd_depreciation_expenses_tax_category_id: string | null;
  salary_excess_expenses_tax_category_id: string;
  salary_expenses_tax_category_id: string | null;
  social_security_business_id: string;
  social_security_expenses_tax_category_id: string | null;
  swift_business_id: string | null;
  tax_business_id: string;
  tax_deductions_business_id: string | null;
  tax_expenses_tax_category_id: string;
  training_fund_expenses_tax_category_id: string | null;
  untaxable_gifts_tax_category_id: string;
  vacation_reserve_expenses_tax_category_id: string | null;
  vacation_reserve_tax_category_id: string | null;
  vat_business_id: string;
  zkufot_expenses_tax_category_id: string | null;
  zkufot_income_tax_category_id: string | null;
}

/** 'GetBootstrapContext' query type */
export interface IGetBootstrapContextQuery {
  params: IGetBootstrapContextParams;
  result: IGetBootstrapContextResult;
}

/** 'ExpireActiveInvitations' parameters type */
export interface IExpireActiveInvitationsParams {
  businessId?: string | null | void;
  email?: string | null | void;
}

/** 'ExpireActiveInvitations' return type */
export type IExpireActiveInvitationsResult = void;

/** 'ExpireActiveInvitations' query type */
export interface IExpireActiveInvitationsQuery {
  params: IExpireActiveInvitationsParams;
  result: IExpireActiveInvitationsResult;
}

