meta {
  name: 01 List
  type: http
  seq: 1
}

get {
  url: {{baseUrl}}/api/v1/plans
  body: none
  auth: inherit
}

tests {
  test("200 OK", function () {
    expect(res.getStatus()).to.equal(200);
  });
  test("4 default plans provisioned", function () {
    expect(res.getBody().data.length).to.be.at.least(4);
  });
  test("each plan has steps + usageCount", function () {
    const p = res.getBody().data[0];
    expect(p).to.have.property("steps");
    expect(p).to.have.property("usageCount");
  });
}

docs {
  GET /api/v1/plans

  Retourne les 4 plans pré-fournis (Standard B2B, Rapide, Patient, Ferme)
  avec leurs étapes (subject, body, ton, offsetDays, requiresManualValidation)
  et un `usageCount` (nombre de factures actives utilisant ce plan).
}
