Validation for Effective Dates on Bind

There is now input validation for the effective date field in our bind payload.
As mentioned here, binds are only valid if they're < 7 days before the current date and < 30 days in the future.

From now on, quotes will stay in the same state if an invalid bind date was requested and our API will respond with:

  msg:"Effective date must be between XX/XX/XXXX - YY/YY/YYYY."


Date range

X is the 7 days before the quote's publish/request date
Y is 30 days after the quote's latest expiration date (quotes are valid for 45 days!).

If a quote is in an invalid state or a dynamic date can't be provided, we'll respond with:

  msg:"Invalid effective date selection."