There is a hardcoded list of methods/endpoints for which the status check isn't done. i.e. the endpoints which need to be accessed before the org is approved.
Resolves#11
These dependencies require `user_model_claims_dependency` which requires the `claims_dependency`. This caused an import loop error and therefore they must be defined in a different file from `claims_dependency`.
Resolves#6
Org endpoints use query/body model dependencies to perform initial db lookups.
Issue #6
Org ID path params have been replaced with either query params (get endpoints) or body values.
Resolves#10
Endpoints in other modules that rely on an org model lookup have also been updated.
- All TODOs done.
- org_model_dependency used for all applicable routes
- ORM relationships used to reduce number of queries being made and simplify endpoint code.
- Missing request and response models added.
- Small bug fixes
Blank contacts are now generated on org creation and assigned to each contact type. These contacts are linked to the org, only accessible to the org, and removed when the org is removed.
With this all contact endpoints have been removed. Contact manipulation is done via the org only.