/**
 * Copyright (c) 2023 ListBird. All Rights Reserved.
 *
 * This software product includes software or other works developed by RESO,
 * subject to the RESO End User License published at www.reso.org.
 *
 * Any modifications, derivative works, or redistributions of this source must
 * maintain this copyright notice. See the RESO EULA for more information.
 */

export enum ListingAgreement {
  /**
   * {@link https://ddwiki.reso.org/display/DDW17/Exclusive+Agency}
   *
   * A contract giving one Brokerage Firm, for a specified time, the right to sell/lease the property and also
   * allowing the owner, acting alone, to sell/lease the property without paying commission.
   */
  ExclusiveAgency = 'ExclusiveAgency',

  /**
   * {@link https://ddwiki.reso.org/display/DDW17/Exclusive+Right+To+Lease}
   *
   * A contract giving the Broker the right to collect commission if the property is leased by anyone,
   * including the owning, during the term of the agreement.
   */
  ExclusiveRightToLease = 'ExclusiveRightToLease',

  /**
   * {@link https://ddwiki.reso.org/display/DDW17/Exclusive+Right+To+Sell}
   *
   * A contract giving the Broker the right to collect commission if the property is sold by anyone, including
   * the owning, during the term of the agreement.
   */
  ExclusiveRightToSell = 'ExclusiveRightToSell',

  /**
   * {@link https://ddwiki.reso.org/display/DDW17/Exclusive+Right+With+Exception}
   *
   * A contract giving the Broker the right to collect commission if the property is sold by anyone, including
   * the owner, during the term of the agreement unless some specified exceptions to the agreement occur.
   */
  ExclusiveRightWithException = 'ExclusiveRightWithException',

  /**
   * A listing in which the broker's commission is the excess of the sale price over an agreed-upon (net0
   * price to the seller; illegal in some states because it can create a conflict of interest for the broker.
   */
  Net = 'Net',

  /**
   * {@link https://ddwiki.reso.org/display/DDW17/Open}
   *
   * Often used for commercial property, a listing given to any number of Brokers without liability to
   * compensate any except the one who first secures a buyer who is ready, willing and able to meet the terms
   * of the listing and secures the seller's acceptance. The seller may, acting alone, sell the property
   * without paying commission.
   */
  Open = 'Open',

  /**
   * {@link https://ddwiki.reso.org/display/DDW17/Probate}
   *
   * An Exclusive Right To Sell listing agreement that also resides under authority of the local probate code.
   */
  Probate = 'Probate',
}
