export type FLOW_MAPPING_SCHEMA = {
  [mapping_key: string]: {
    title: string; // title for UI/display
    description: string; // description for UI/display
    internal: {
      type: FLOW_MAPPING_TYPE;
      filter?: string; // JSONB query for filtering the data
    };
    external: {
      type: string;
      filter?: string; // JSONB query for filtering the data
    };
  };
};
export type FLOW_SETTING_SCHEMA = {
  [setting_key: string]: {
    title: string; // title for UI/display
    description: string; // description for UI/display
    type: FLOW_MAPPING_TYPE;
    filter?: string; // JSONB query for filtering the data
  };
};
export type FLOW_MAPPING_TYPE =
  | 'listing'
  | 'account'
  | 'booking_channel'
  | 'contact_vendor'
  | 'contact_owner'
  | 'connection'
  | 'value_number'
  | 'value_percentage'
  | 'value_string'
  | 'value_currency'
  | 'value_date';
