(ns auto-ap.routes.admin.clients)
(def routes {""                            {:get ::page
                                            :put ::save
                                            :post ::save}
             "/table"                      ::table

             "/navigate" ::navigate
             "/bank-accounts/sort" ::sort-bank-accounts
             "/discard" ::discard
             "/square-locations" ::refresh-square-locations

             "/location/new" ::new-location
             "/match/new" ::new-match
             "/location-match/new" ::new-location-match
             "/email-contact/new" ::new-email-contact
             "/group/new" ::new-group
             "/feature-flag/new" ::new-feature-flag
             "/new" {:get ::new-dialog}
             ["/" [#"\d+" :db/id] "/sales-powerquery"] ::biweekly-sales-powerquery
             ["/" [#"\d+" :db/id] "/edit"] ::edit-dialog})
